package com.example.service.impl;

import com.example.pojo.Detail;
import com.example.mapper.DetailMapper;
import com.example.service.IDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.vo.DetailVo;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lyj
 * @since 2023-02-20
 */
@Service
public class DetailServiceImpl extends ServiceImpl<DetailMapper, Detail> implements IDetailService {

    @Override
    public DetailVo queryByWorkOrderId(Long id) {

        return baseMapper.queryByWorkOrderId(id);
    }
}
